<template>
	<view class="padding">
		<view class="flex flex-wrap">
			<button class="flex-sub lg cu-btn bg-yellow margin-bottom" @click="$util.redirectTo('/business/index?sleId=1')">测试1</button>
		</view>
		<view class="flex flex-wrap">
			<button class="flex-sub lg cu-btn bg-orange margin-bottom" @click="$util.redirectTo('/business/index?sleId=2')">测试2</button>
		</view>
		<view class="flex flex-wrap">
			<button class="flex-sub lg cu-btn bg-blue margin-bottom" @click="$util.redirectTo('/business/index?sleId=3')">测试3</button>
		</view>
		<view class="flex flex-wrap">
			<button class="flex-sub lg cu-btn bg-red margin-bottom" @click="$util.redirectTo('/business/index?sleId=4')">测试4</button>
		</view>
		<view class="flex flex-wrap">
			<button class="flex-sub lg cu-btn bg-green margin-bottom" @click="$util.redirectTo('/business/index?sleId=5')">测试5</button>
		</view>
	</view>
</template>

<script>
	import {
		create,
		info,
		update,
		del
	} from "@/utils/api.js"
	export default {
		data() {
			return {
				
			}
		},onLoad(prop) {
			
		},onShow() {
			uni.setNavigationBarTitle({
			    title: '首页'
			});
		},
		methods: {
			initData(){
				info().then(res => {
					console.log(res);
				}).catch(error=>{
					console.log(res);
				});
			}
		}
	}
</script>

<style>

</style>
